#pragma once
#include "ParseTree.h"
#include "Rules.h"
#include "TypeChecker.h"
#include "Node.h"

class Node : public ParseTree
{
    void (TypeChecker::*method) (Node*);

public:
    Node();
    virtual ~Node();

    //NOT inherited, because only for Nodes (not for leaves)
    //void create(void (*method) (Node* node));
    

    //virtual void add_node(ParseTree* tree);
    //Inherited from ParseTree
    //void typeCheck();
    //void makeCode();
};
